package mundo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class lkdsmfksd 
{
	public static void main(String[] args) 
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String linea;
		try 
		{
			linea = br.readLine();
			while(linea!=null)
			{
				linea=linea.replaceAll("\"", "\\\\\"");
				System.out.println( "respuesta.write(\""+linea+"\");");
				linea=br.readLine();
			}
		} 
		catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
